package com.circle.interests.biz.entity;

import com.circle.common.mybatisplus.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 中奖记录
 * </p>
 *
 * @author generator
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PrizeGameWinRecord对象", description="中奖记录")
public class PrizeGameWinRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场景类型;1活动，2内容")
    private Integer sceneType;

    @ApiModelProperty(value = "场景id;某场景下唯一主键，场景类型1时为活动ID")
    private String sceneId;

    @ApiModelProperty(value = "中奖记录code")
    private String code;

    @ApiModelProperty(value = "鸿联orderCode")
    private String orderCode;

    @ApiModelProperty(value = "奖品编码")
    private String prizeCode;

    @ApiModelProperty(value = "奖品类型，1红包，2实物，3鸿联虚拟奖品")
    private Integer prizeType;

    @ApiModelProperty(value = "鸿联商品编码")
    private String productCode;

    @ApiModelProperty(value = "用户openId")
    private String openId;

    @ApiModelProperty(value = "用户领取手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "奖品金额")
    private Integer amount;

    @ApiModelProperty(value = "核销状态，1未核销，2核销中，3核销成功，4核销失败")
    private Integer writeOffStatus;

    @ApiModelProperty(value = "卡号")
    private String cardNumber;

    @ApiModelProperty(value = "卡密")
    private String cardPassword;

    @ApiModelProperty(value = "核销备注")
    private String remark;

}
